﻿using System;
using TavDom.Library.Entities.Concrete;

namespace TavDom.Library.Entities.ComplexTypes
{
    public class SearchEntity<T>
    {
        public string Username { get; set; }

        public string Code { get; set; }
        public string Name { get; set; }
        public string Email { get; set; }
        public string Surname { get; set; }
        public DateTime? CreateDateBegin { get; set; }
        public DateTime? CreateDateEnd { get; set; }
        public DateTime? UpdateDateBegin { get; set; }
        public DateTime? UpdateDateEnd { get; set; }
        public DateTime? CreateDate { get; set; }
        public virtual User CreatedBy { get; set; }
        public DateTime? UpdateDate { get; set; }
        public virtual User UpdatedBy { get; set; }
        public int IsApproved { get; set; }
    }
}
